Linear Magic Rectangles
نویسنده
چکیده
Our purpose is to introduce a linear-algebraic construction for magic rectangles of size pr × ps, where p is prime and 1 ≤ r ≤ s. For fixed p, r, and s, this method allows for the production of many different magic rectangles. It follows that, for many non-coprime dimensions, this construction will significantly augment the sparse collection of “known” magic rectangles. A magic rectangle of size m × n is a rectangular array containing integers 0, 1, . . . ,mn − 1 such that the row sums are constant and the column sums are constant. (The constants are different if m 6= n.) When m = n and both diagonal sums are equal to the row/column sums, one obtains a magic square. The construction of magic squares is a venerable pastime, dating back to the Lo-Shu square of ancient China (ca 650 bce). A variety of magic square constructions may be found in [1]; connections among magic squares, magic rectangles, orthogonal latin squares, and statistical design are described in [6], [9], and [10]. Efforts to construct magic rectangles are much more recent and far less numerous than those for their square counterparts. Sun [11] showed that a magic rectangle of order m×n exists if and only if m and n have the same parity, are both larger than 1, and are not both 2. (We declare such sizes m × n to be admissible.) Similar (partial) results were achieved independently in [2], and were further refined in [7]. Other constructions of magic rectangles may be found in [3], [4], and [5]. Invariably these constructions have a combinatorial flavor and produce a single example (and its obvious permutations) for each admissible size. We take a different approach: instead of a combinatorial method producing one example for each of a large set of sizes, we introduce a linear-algebraic method that will produce a variety of examples for a rather more limited set of sizes, namely pr × ps where p is prime. This, together with the magic rectangle product theorem given in [2], will increase the number of magic rectangle examples for many admissible sizes m × n where gcd(m,n) > 1. The paper is organized as follows: The construction is given in Section 2, conditions we must place upon certain aspects of the construction are developed in Section 3, and in Section 4 we show that these conditions can be satisfied for each
منابع مشابه
A matrix approach to construct magic rectangles of even order
Magic rectangles are well-known for its very interesting and entertaining combinatorics. In a magic rectangle, the numbers 1 to mn are arranged in an array of m rows and n columns so that each row adds to the same total M and each column to the same total N . In the present paper we provide a new systematic method for constructing any even by even magic rectangle. The method proposed is extreme...
متن کاملConstruction of magic rectangles of odd order
Magic rectangles are well-known for their very interesting and entertaining combinatorics. Such magic rectangles have also been used in designing experiments. In a magic rectangle, the integers 1 to pq are arranged in an array of p rows and q columns so that each row adds to the same total P and each column to the same total Q. In the present paper we provide a systematic method for constructin...
متن کاملEnhancing the Security in Cryptosystems Based on Magic Rectangle
The security of any cryptosystems is based on the way in which it produces different ciphertext for the same plaintext. Normally, various block cipher modes viz., CBC, OFC, etc., are used in producing different ciphertext for the same plaintext but it is a time consuming process. Instead of using block cipher, a different encoding method for the plaintext is proposed in this paper using magic r...
متن کاملHandicap distance antimagic graphs and incomplete tournaments
Let G = (V,E) be a graph of order n. A bijection f : V → {1, 2, . . . , n} is called a distance magic labeling of G if there exists a positive integer μ such that ∑ u∈N(v) f(u) = μ for all v ∈ V, where N(v) is the open neighborhood of v. The constant μ is called the magic constant of the labeling f. Any graph which admits a distance magic labeling is called a distance magic graph. The bijection...
متن کاملTransforming rectangles into squares An introduction to the squarability problem
In this bachelor thesis we introduce the Squarability problem: When can a set of axisaligned rectangles be transformed into squares without changing combinatorial properties? This means, that we do not allow to change whether, how and in which order the rectangles respectively squares intersect. We use a sweep line algorithm to compute the combinatorial information from geometrically given rect...
متن کامل